package com.fresh.service;

import java.util.List;

import com.fresh.entity.UserPermissionEntity;


/**
 * 权限
 * @author Administrator
 *
 */
public interface UserPermissionService {

	/**  
	* @Title: queryUser  
	* @Description: 根据用户id和类型查询 
	* @param userId
	* @param type
	* @return List<UserPermissionEntity>  
	* @throws  
	*/ 
	public List<UserPermissionEntity> queryUser(String userId, Integer type);
	
	/**
	 * @param 根据用户编号获取权限数据
	 * @param gmc
	 * @param  
	 * @return
	 */
	public List<UserPermissionEntity> getUserPermissionByUserId(String userId);
	
}
